<!--
 * @Description: 入口组件
 * @Autor: HuiSir<273250950@qq.com>
 * @Date: 2020-08-04 15:14:43
 * @LastEditTime: 2020-09-08 11:19:05
-->
<template>
    <div id="app">
        <router-view />
        <routerNav />
    </div>
</template>

<script>
import routerNav from '@/components/pages/routerNav' //导航
export default {
    components: {
        routerNav,
    },
}
</script>

<style lang="scss">
#app {
    width: 100vw;
    height: 100vh;
    background-image: url(./assets/img/bg.jpg);
    background-position: center top;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
    * {
        box-sizing: border-box;
    }
}
</style>